home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / ddx / sprite.X11R3 / READ-ME < prev    next >
Encoding:
Text File  |  1989-10-12  |  1.0 KB  |  43 lines

  1.  
  2.     How to add CG6 support to Xsun for X11R3.
  3.  
  4. modify sunInit.c :
  5.  
  6. add the following to the list of extern's at the top of the file.
  7.  
  8.     extern Bool sunCG6Probe();
  9.  
  10.  
  11. modify the sunFbDataRec declaration by adding an entry for the cg6 as
  12. follows:
  13.  
  14.     #ifdef ZOIDS
  15.     sunFbDataRec sunFbData[] = {
  16.         sunBW2Probe,      "/dev/bwtwo0",        neverProbed,    0, 0,
  17.         sunCG2CProbe,      "/dev/cgtwo0",        neverProbed,    0, 0,
  18.         sunCG3CProbe,      "/dev/cgthree0",    neverProbed,    0, 0,
  19.         sunCG4CProbe,      "/dev/cgfour0",        neverProbed,    0, 0,
  20.         sunCG6Probe,      "/dev/cgsix0",        neverProbed,    0, 0,
  21.     };
  22.     #else  ZOIDS
  23.     sunFbDataRec sunFbData[] = {
  24.         sunBW2Probe,      "/dev/bwtwo0",        neverProbed,
  25.         sunCG2CProbe,      "/dev/cgtwo0",        neverProbed,
  26.         sunCG3CProbe,      "/dev/cgthree0",    neverProbed,
  27.         sunCG4CProbe,      "/dev/cgfour0",        neverProbed,
  28.         sunCG6Probe,      "/dev/cgsix0",        neverProbed,
  29.     };
  30.     #endif ZOIDS
  31.  
  32.  
  33.  
  34. modify Imakefile:
  35.  
  36.     Add sunCG6.c and sunCG6.o
  37.  
  38.  
  39. To start Xsun you MUST specify -dev /dev/cgsix0 or else the auto
  40. config code seems to think that it is a cg4.
  41.  
  42.  
  43.